[Top] [Prev] [Next] [Bottom] [Contents]

SaPopulateParagraph

Populates HTML stream with data.

Synopsis

#include "SaRnHtml.h"
void SaPopulateParagraph(Widget list, 
		XtPointer client_data, SaCallbackStruct *cbs);

Arguments

list
Not used.
client_data
Not used.
cbs
SaCallbackStruct callback structure containing the data.

Return Values

None.

Description

Populates HTML stream with data for each row. This callback prints a line for each column element of a row, and the column elements are printed as:

column name : value<BR>
with spaces added to align the colons. This alignment will only be seen by the HTML user when the site is surrounded by <PRE> </PRE> tags. An additional <BR> separates rows. For example:

/*** the following ad-hoc example can be used without templates 
***/
SaCallbackStruct *cbs;
cbs = SaExecSQL("CEZANNE", "pubs2", SGESYBASE, "select * from 
authors");
/*** calls to set the beginning HTML context ***/
SaPopulateParagraph(NULL, NULL, cbs);
/*** calls to complete the HTML context ***/
SaFreeCbs(cbs);

Note: This call is generated automatically by Sapphire/Web through use of the Results Detail Dialog.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.